package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;



//课程表类
@Getter
@Setter
@ToString
public class Curriculum extends BaseDomain {

    private Clazz clazz;//班级
    private Subject subject;//科目
    private String weekday;//星期
    private Employee teacher;//上课教师
    private ClassRoom classroom;//教室
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8" )
    private Date  schooltime;//上课时间
    private String remark;//备注

    private Integer state;//状态


}